﻿using System;

namespace Presentation
{
    public interface IView
    {
        string FromValue { get;}
        string FromType { get;}
        string ToType { get;}       

        string ToValue { set; }

        string FileName { get; }
        string Action { set; }

        string ErrorMessage { set; }

        event Action OnConvertClick;
        event Action OnWriteLogToFile;
        event Action OnTxtClick;
        event Action OnHtmlClick;

        void ClearError();
        ILog CreateTxtLogger();
        ILog CreateHtmlLogger();
    }
}
